package com.zls.service.impl;

import com.zls.mapper.PermissionMapper;
import com.zls.pojo.Permission;
import com.zls.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;
    @Override
    public List<Permission> findAll() {
        List<Permission> list = permissionMapper.findAll();
        return list;
    }
}
